home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _3515D4B7198F4253BF740DD2C8BF08CE < prev    next >
Encoding:
Text File  |  2004-06-16  |  1.8 KB  |  90 lines

  1.  
  2. Shader()
  3. {// >=gf3
  4.     SurfaceID(SRFTYPE)
  5.     Shaderquality(3)
  6.     NoLightmaps()
  7.     Pass()
  8.     {
  9.         Lighting()
  10.         Pixelshader("CSW.psh")
  11.  
  12.         !include("__Tex1.mtt")
  13.         !include("__Clouds.mtt")
  14.         !include("__WaterDeep.mtt")
  15.         !include("__FadeGen.mtt")
  16.         !include("__LightningColors.mtt")
  17.  
  18.     }
  19.  
  20.     lightpass()
  21.     !include("Spot1Tex.mtt")
  22.  
  23.     Cull("cw")
  24. }
  25.  
  26. Shader()
  27. {// >=gf3
  28.     SurfaceID(SRFTYPE)
  29.     Shaderquality(1)
  30.     NoLightmaps()
  31.     Cull("cw")
  32.     Pass()
  33.     {
  34.         Lighting()
  35.         Pixelshader("OS.psh")
  36.  
  37.         !include("__Tex1.mtt")
  38.         !include("__FadeGen.mtt")
  39.         !include("__LightningColors.mtt")
  40.     }
  41.  
  42.     lightpass()
  43.     !include("Spot1Tex.mtt")
  44. }
  45.  
  46. Shader()
  47. {//gf2
  48.     SurfaceID(SRFTYPE)
  49.     Shaderquality(0)
  50.     NoLightmaps()
  51.     Pass()
  52.     {
  53.         Lighting()
  54.         tmu()
  55.         {
  56.             Texture()
  57.             {
  58.                 Mapchannel(0)
  59.                 Image(TEXTURE1)
  60.                 !include(TEX1OPTIONSFILE)
  61.             }
  62.             ColorOp("mul", "texture", "diffuse", "current")     //texture * lighting
  63.         }
  64.  
  65.         tmu()
  66.         {
  67.             TexGen("world_position")
  68.             TexMtxDirPosScale(1.0, 0.0, 0.0, 0, 0, 0, %waterscale, %waterscale, %waterscale)
  69.             texture()
  70.             {
  71.                 Image("WaterDeep_P.dds")
  72.                 filtering("linear_no_mip")
  73.                 addressfunc("wrap", "clamp", "clamp")
  74.  
  75.             }
  76.             ColorOp("arg2", "texture", "current", "current")
  77.             AlphaOp("mul", "texture", "diffuse", "current") //fadeblending
  78.         }
  79.  
  80.         !include("__FadeGenDayColorGF2.mtt")
  81.  
  82.         !include("__LightningColorsGF2.mtt")
  83.  
  84.     }
  85.     lightpass()
  86.     !include("spot_spotmap.mtt")
  87.     Cull("cw")
  88. }
  89.  
  90.